package com.example.demo02.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("stat_coupon_shop")
public class StatCouponShop {
    @TableId(type = IdType.AUTO)
    private Integer pid;
    private Integer shopid;
    private Integer discountRuleid;
    private String discountKind;
    private String discountType;

    private Integer buyNum;
    private Integer payment;

    private Integer sendNum;
    private Integer useNum;
    /**
     * 每张已使用优惠券的实际优惠金额act_amount加总
     */
    private Integer useAmount;
    /**
     * 统计时间(yyyyMMdd)
     */
    private String checkDate;
    private Date createTime;
}
